<!-- 新闻页面 -->
<template>
	<web-view
	    v-if="show"
	    src="https://www.jin10.com/example/jin10.com.html?fontSize=14px&amp;theme=white"
	    :update-title="false"
	  ></web-view>
</template>

<script>
	export default {
		data() {
			return {
				show:true
			}
		},
		methods: {
			
		},
		onShow() {
			this.show = true;
			const pages = getCurrentPages()
			const page = pages[pages.length - 1]
			  // // #ifdef APP-PLUS
			  const currentWebview = page.$getAppWebview()
			  setTimeout(() => {
			    const children = currentWebview.children()
			    children[0].setStyle({ top: statusBarHeight + 'px', backgroundColorTop: '#ffffff' })
			  }, 500)
			  // // #endif
		},
		onHide() {
			this.show = false;
		}
	}
</script>

<style>

</style>
